Move initialize_keytable declaration to keyhandler.h
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Sat, 23 Sep 2006 13:07:41 +0000 (14:07 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Sat, 23 Sep 2006 13:07:41 +0000 (14:07 +0100)
Signed-off-by: Aron Griffis <aron@hp.com>
xen/arch/ia64/xen/xensetup.c
xen/arch/powerpc/setup.c
xen/arch/x86/setup.c
xen/include/xen/keyhandler.h

index 12c6850aa760ca4fef1ba9b2f7cd00f8f1ef1f5c..4b9095c38d1e4827e240c8b03230ff4f23a07564 100644 (file)
@@ -38,7 +38,6 @@ extern unsigned long domain0_ready;
 int find_max_pfn (unsigned long, unsigned long, void *);
 
 /* FIXME: which header these declarations should be there ? */
-extern void initialize_keytable(void);
 extern long is_platform_hp_ski(void);
 extern void early_setup_arch(char **);
 extern void late_setup_arch(char **);
index eb75a30bd4db246101017624ab7749903abc666e..83c0aca028361d94cba8fa6550567acbe295bc9b 100644 (file)
@@ -87,9 +87,6 @@ struct ns16550_defaults ns16550;
 
 extern char __per_cpu_start[], __per_cpu_data_end[], __per_cpu_end[];
 
-/* move us to a header file */
-extern void initialize_keytable(void);
-
 volatile struct processor_area * volatile global_cpu_table[NR_CPUS];
 
 int is_kernel_text(unsigned long addr)
index 6507d6fa8625053265714fff2906ca035d19f738..e21b4c23703e8f56fe09bf7e754ed5e9cff34a62 100644 (file)
@@ -1,4 +1,3 @@
-
 #include <xen/config.h>
 #include <xen/init.h>
 #include <xen/lib.h>
@@ -16,6 +15,7 @@
 #include <xen/gdbstub.h>
 #include <xen/percpu.h>
 #include <xen/hypercall.h>
+#include <xen/keyhandler.h>
 #include <public/version.h>
 #include <asm/bitops.h>
 #include <asm/smp.h>
@@ -81,7 +81,6 @@ extern void arch_init_memory(void);
 extern void init_IRQ(void);
 extern void trap_init(void);
 extern void early_time_init(void);
-extern void initialize_keytable(void);
 extern void early_cpu_init(void);
 
 struct tss_struct init_tss[NR_CPUS];
index ba443ae48f5e256a829dfe40f58370663173af61..451b4c334570b5e42ffb4d507a23350048954ebe 100644 (file)
@@ -10,6 +10,9 @@
 #ifndef __XEN_KEYHANDLER_H__
 #define __XEN_KEYHANDLER_H__
 
+/* Initialize keytable with default handlers */
+extern void initialize_keytable(void);
+
 /*
  * Register a callback function for key @key. The callback occurs in
  * softirq context with no locks held and interrupts enabled.